/**
 * 
 * JFEG
 * stands for Java Front End for Gnuplot
 *  
 */

package jfeg;
  
import gnuplot.Gnuplot;
import java.util.Random;
import mainwindow.*;

/**
 * Main program, still without any gui.
 * 
 * @author thiago (twitter: thmosqueiro)
 *
 */
class Main 
{
	public static void main(String[] args)
	{
		Mainwindow now = new Mainwindow("JFEG - alpha 0.1", 500, 600);
		now.setVisible(true);
	}
}


/*
Saudades...
	/**
	 * @param args
	 
	public static void main(String[] args) 
	{
		
		// Test 01 with GnuPlot Routine
		// lets plot some random data.
		double[][] a = new double[100][2];
		
		Random rdmnumgen = new Random();
		
		for (int k = 0; k < 100; k++)
		{
			a[k][1] = rdmnumgen.nextDouble();
			a[k][0] = k; 
		}
		
		Gnuplot plot = new Gnuplot(a);
		
		plot.setTitle("Random data");
		plot.setXLabel("x label");
		plot.setYLabel("y label");
		plot.setOutput("firsttest.ps", "post enhanced color");
		plot.makeGraphic();	
	}
*/